package com.lechuang.goods.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lechuang.common.model.BaseEntity;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 区域和商品关联表
 * @TableName goods_region_ref
 */
@TableName(value ="goods_region_spu")
@Data
@Accessors(chain = true)
public class GoodsRegionSpu extends BaseEntity implements Serializable {
    /**
     * 区域id
     */
    private Long regionId;

    /**
     * spuId
     */
    private Long spuId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}